class CreatePlayers < ActiveRecord::Migration
  def self.up
    create_table :players do |t|
      t.integer :champion_id
      t.integer :match_id
      t.integer :team_id
      t.integer :kills
      t.integer :deaths
      t.integer :assists
      t.integer :towers_destroyed
      t.integer :minions_killed
      t.boolean :is_leaver

      t.timestamps
    end
  end

  def self.down
    drop_table :players
  end
end
